﻿using System.Data.Entity.ModelConfiguration;
using QDT.Core.Deals;

namespace QDT.Core.MSData.Mapping
{
    public class CreditRepaymentMapping : EntityTypeConfiguration<CreditRepayment>
    {
        public CreditRepaymentMapping()
        {
            HasKey(x => x.ID);

            Property(x => x.InnerStatus).HasColumnName("Status");

            ToTable(DB.TPref("credit_repayment"));
        }
    }
}
